<!DOCTYPE html>
<html>
	<head>
		<meta charset="utf-8" />
		<title></title>
		<script src="js/vue.js" type="text/javascript" charset="utf-8"></script>
	</head>
	<body>
	<div id="box">
		<input v-model="name" type="text" placeholder="你的名字"/>
		<h1 >你好,{{name}}</h1>
	</div>
	<script type="text/javascript">
		var demo = new Vue(
			{
				el:'#box',
				data:{
					name:''
				}
			}
		);
	</script>
	</body>
</html>
